package com.central.scheduler.dao.mapper;

import com.central.db.mapper.SuperMapper;
import com.central.scheduler.dao.model.ProQueue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Tindy
 * @date 2021/7/5
 * @describe
 */
@Mapper
public interface ProQueueMapper extends SuperMapper<ProQueue> {
    @Select("select pro_id from sch_pro_queue where queue_id=#{queueId}")
    List<Long> getProIds(@Param("queueId") Long queueId);
}